<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!--  Jquery -->
<script type=text/javascript src="./js/jquery/jquery-1.7.1.js"></script>
<%-- <script type=text/javascript src="./js/jquery/jquery-1.9.0.js"></script> --%>
<%-- <script type=text/javascript src="./js/jquery/jquery-migrate-1.0.0.js"></script> --%>
<script type=text/javascript src="./js/login.js"></script>
<script type=text/javascript src="./js/common.js"></script>
<script type=text/javascript src="./js/jqueryUtil/jquery.lightbox-0.5.min.js"></script>
<script type=text/javascript src="./js/jqueryUtil/jquery-ui.js"></script>


<!-- CSS -->
<link href="css/header.css" rel="stylesheet" type="text/css" />
<link href="css/login.css" rel="stylesheet" type="text/css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="css/util/jquery.lightbox-0.5.css" rel="stylesheet" type="text/css" />
<link href="css/util/jquery-ui.css" rel="stylesheet" type="text/css" />

<s:include value="login.jsp"></s:include>
<input id="commonMsg" type="hidden" value='<s:property value="resultMsg"/>' />
<div id="top">
	<ul>
		<li><a class="a">歡迎光臨</a></li>
		<s:if test="#session['user'] == null">
			<li><a id="login" class="b" href="#">登入</a></li>
			<li><a class="c" href="addUser.action">加入會員 </a></li>
		</s:if>
		<s:else>
			<li><a class="b" href="userHome.action">(<s:property value="#session['user'].loginId"/>)會員中心</a></li>
			<li><a class="c" href="login!logout.action">登出 </a></li>
		</s:else>
	</ul>
</div>
<div id="top2"></div>
<div id="topWrapper">
	<div id="header">
		<ul>
			<li class="a"><a href="home.action">首頁</a></li>
			<li class="b"><a href="#">我要接案</a></li>
			<li class="c"><a href="#">我要外包</a></li>
			<li class="d"><a href="#">接案人才</a></li>
			<li class="e"><a href="#">成交榜單</a></li>
			<li class="f"><a href="#">情報中心</a></li>
			<li class="g"><a href="#">合約範本</a></li>
			<li class="h"><a href="#">接案交流</a></li>
			<li class="i"><a href="#">說明中心</a></li>
		</ul>
	</div>
</div>
